Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| @@ -62,7 +62,7 @@ | |||
| <div class="h-0.5 rounded-full bg-inverse"></div> | |||
| <WorkflowDetail | |||
There was a problem hiding this comment.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| content={workflow?.taskQueue} | ||
| href={routeForWorkers({ | ||
| href={routeForWorkflowWorkers({ | ||
| namespace: $page.params.namespace, |
There was a problem hiding this comment.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| href={routeForWorkers({ | ||
| href={routeForWorkflowWorkers({ | ||
| namespace: $page.params.namespace, | ||
| workflow: workflow?.id, |
There was a problem hiding this comment.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| <DropdownFilterChip | ||
| filter={activityFilter} | ||
| filter={filterItem} | ||
| index={i} |
There was a problem hiding this comment.
⚠️ Type 'number | null' is not assignable to type 'number | undefined'.
| @@ -131,8 +138,9 @@ | |||
| onclick={() => { | |||
| handleNewQuery(value, type); | |||
| }} | |||
There was a problem hiding this comment.
⚠️ Type 'boolean | "" | undefined' is not assignable to type 'boolean | undefined'.
| !localFilters[0].value && | ||
| status === 'All')} | ||
| <MenuItem | ||
| data-testid={`status-dropdown-filter-chip-${status}`} |
There was a problem hiding this comment.
⚠️ Argument of type 'string | null' is not assignable to parameter of type 'string'.
| onclick={() => handleStatusSelect(status)} | ||
| > | ||
| {#snippet leading()} | ||
| <Checkbox |
There was a problem hiding this comment.
⚠️ Argument of type 'string | null' is not assignable to parameter of type 'string'.
| {#snippet leading()} | ||
| <Checkbox | ||
| on:change={() => handleStatusSelect(status)} | ||
| {checked} |
There was a problem hiding this comment.
⚠️ Type '"All" | "Unspecified" | "Running" | "Completed" | "Canceled" | "Failed" | "Terminated" | "Paused" | "TimedOut" | "ContinuedAsNew" | "ShuttingDown" | null' is not assignable to type 'string | undefined'.
| /> | ||
| <WorkersTableCell copyable={false}> | ||
| <SdkLogo | ||
| sdk={formatSDKName(worker.workerHeartbeat.sdkName)} |
There was a problem hiding this comment.
⚠️ 'worker.workerHeartbeat' is possibly 'null' or 'undefined'.⚠️ Type 'string | null | undefined' is not assignable to type 'string'.
|
|
||
| <PaginatedTable | ||
| let:visibleItems | ||
| {onFetch} |
There was a problem hiding this comment.
⚠️ Type '((err: APIErrorResponse) => void) | undefined' is not assignable to type '((error: unknown) => void | undefined) | undefined'.
| {#each columns as { label } (label)} | ||
| <th>{label}</th> | ||
| {/each} | ||
| </tr> |
There was a problem hiding this comment.
⚠️ 'worker.workerHeartbeat' is possibly 'null' or 'undefined'.
| request, | ||
| params: { | ||
| maximumPageSize: String(pageSize), | ||
| nextPageToken: token, |
There was a problem hiding this comment.
⚠️ Type 'string | null | undefined' is not assignable to type 'string'.
| </div> | ||
| </div> | ||
| </header> | ||
| {#await describeWorker({ namespace, workerInstanceKey }) then data} |
There was a problem hiding this comment.
⚠️ Type 'IWorkerInfo | null | undefined' is not assignable to type 'IWorkerInfo'.
| let { worker }: Props = $props(); | ||
|
|
||
| const { namespace } = $derived(page.params); | ||
| const heartbeat = $derived(worker.workerHeartbeat); |
There was a problem hiding this comment.
⚠️ Argument of type 'WorkerStatus | null | undefined' is not assignable to parameter of type 'WorkerStatus | undefined'.
| > | ||
| <Copyable | ||
| copyIconTitle={translate('common.copy-icon-title')} | ||
| copySuccessIconTitle={translate('common.copy-success-icon-title')} |
There was a problem hiding this comment.
⚠️ Type 'string | null | undefined' is not assignable to type 'string'.
| <DetailListColumn> | ||
| <DetailListLabel>{translate('common.task-queue')}</DetailListLabel> | ||
| <DetailListLinkValue | ||
| copyable |
There was a problem hiding this comment.
⚠️ Type 'string | null | undefined' is not assignable to type 'string'.
| <DetailListColumn> | ||
| <DetailListLabel>{translate('workers.sdk')}</DetailListLabel> | ||
| <DetailListValue> | ||
| <SdkLogo |
There was a problem hiding this comment.
⚠️ Argument of type 'string | null | undefined' is not assignable to parameter of type 'string | undefined'.
| <DetailListLabel>{translate('workers.sdk')}</DetailListLabel> | ||
| <DetailListValue> | ||
| <SdkLogo | ||
| sdk={formatSDKName(heartbeat?.sdkName)} |
There was a problem hiding this comment.
⚠️ Type 'string | null | undefined' is not assignable to type 'string'.
| {slots.currentUsedSlots ?? 0} | ||
| </p> | ||
| <p class="font-mono text-2xl font-semibold"> | ||
| {#if slots.currentAvailableSlots} |
There was a problem hiding this comment.
⚠️ 'slots.currentUsedSlots' is possibly 'null' or 'undefined'.
| <span class="flex items-center gap-1 font-semibold"> | ||
| <Icon name="microchip" class="h-3 w-3 text-secondary" /> | ||
| {translate('workers.cpu-usage')} | ||
| </span> |
There was a problem hiding this comment.
⚠️ 'heartbeat.hostInfo.currentHostCpuUsage' is possibly 'null' or 'undefined'.
| <div class="relative h-2 w-full overflow-hidden rounded bg-indigo-100"> | ||
| <div | ||
| class="absolute left-0 flex h-full items-center bg-indigo-600" | ||
| style="width:{Math.min( |
There was a problem hiding this comment.
⚠️ Argument of type 'number | null | undefined' is not assignable to parameter of type 'number'.
| <span class="flex items-center gap-1 font-semibold"> | ||
| <Icon name="server" class="h-3 w-3 text-secondary" /> | ||
| {translate('workers.memory-usage')} | ||
| </span> |
There was a problem hiding this comment.
⚠️ 'heartbeat.hostInfo.currentHostMemUsage' is possibly 'null' or 'undefined'.
| <div class="relative h-2 w-full overflow-hidden rounded bg-indigo-100"> | ||
| <div | ||
| class="absolute left-0 flex h-full items-center bg-indigo-600" | ||
| style="width:{Math.min( |
There was a problem hiding this comment.
⚠️ Argument of type 'number | null | undefined' is not assignable to parameter of type 'number'.
Description & motivation 💭
Screenshots (if applicable) 📸
Design Considerations 🎨
Testing 🧪
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
Docs
Any docs updates needed?